{extend name="public/base"}

{block name="style"}
<link rel="stylesheet" href="__STATIC__/admin/css/news.css" media="all" />
{/block}


{block name="main"}
<body class="childrenBody">
<form class="layui-form" action="?" method="post">
    <div class="layui-form-item">
        <label class="layui-form-label">视频名称</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" name="name" lay-verify="required" placeholder="请输入视频名称" value="{$data.name|default=''}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">连接</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" name="url" lay-verify="required" placeholder="请输入连接" value="{$data.url|default=''}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">图片地址</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" name="image" lay-verify="required" placeholder="请输入图片地址" value="{$data.image|default=''}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">时长</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" name="duration" lay-verify="required" placeholder="请输入时长" value="{$data.duration|default=''}">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <input type="hidden" name="id" value="{$data.id|default=''}">
            <button class="layui-btn" lay-submit="" lay-filter="send_form">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
{/block}

{block name="javascript"}
{/block}